package com.liuqi.business.service;

import com.liuqi.base.BaseService;
import com.liuqi.business.dto.RechargeSearchDto;
import com.liuqi.business.model.CurrencyModel;
import com.liuqi.business.model.CurrencyModelDto;

import java.util.List;

public interface CurrencyService extends BaseService<CurrencyModel, CurrencyModelDto> {
    Integer getStatusById(Long id);

    Integer getPositionById(Long id);
    /**
     * 获取名称 无返回空字符串
     * @return
     */
    String getNameById(Long id);
    /**
     * 根据名称获取
     * @param name
     * @return
     */
    CurrencyModelDto getByName(String name);

    /**
     * 查询所有币种
     * @return
     */
    List<CurrencyModelDto> getAll();

    /**
     * 查询启用的
     * @return
     */
    List<CurrencyModelDto> getUsing();

    List<Long> getLikeByName(String currencyName,Integer status);

    Long getUsdtId();
}
